Svag matchende rim for magnetoresistor